package cn.sc.summer.thread.annotation;

import org.springframework.core.annotation.Order;

import java.lang.annotation.*;

/**
 * 事务提交后置执行
 *
 * @author a-xin
 * @date 2019/3/12 23:50
 */
@Order(2)
@Inherited
@Target(ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface AfterCommit {

    /**
     * 事务提交后执行方法名称
     */
    String method();

}
